package com.esb.transport.channel;

import com.esb.transport.protocal.Future;
import com.esb.transport.protocal.Invocation;
import com.esb.transport.protocal.Response;

public interface Channel {
	
	Future<Response> send(Invocation message);

	void receive(Invocation msg);
	
	void opened();
	
	void closed();
	
	boolean isOpen();
	
}
